package code.c05;

/**
 * @author thinkpad - 83start
 * @version v1.0
 * @create 2022/9/29 11:48
 * @package code.c05
 * @description 文件说明
 */

public class Son extends Father {
    public Son() {
        System.out.println("in son");
    }

    public static void main(String[] args) {
        Son son = new Son();
    }
}

class Father extends GrandPa {

    public Father() {
        System.out.println("in father");
    }
}

class GrandPa {

    public GrandPa() {
        System.out.println("in grandpa");
    }
}
